package com.xuhai.blog19.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author Kakarot
 * @email ${email}
 * @date 2023-02-03 21:21:42
 */
@Data
@TableName("bl_article_category")
public class ArticleCategoryEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键自增
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	/**
	 * 文章编号
	 */
	@TableField("article_id")
	private Integer articleId;
	/**
	 * 分类编号
	 */
	@TableField("category_id")
	private Integer categoryId;

}
